import React from 'react'
import { Uploader } from 'react-vant'

const App = () => {
  const defaultValue = [
    {
      url: 'https://img.yzcdn.cn/vant/sand.jpg', // 图片文件
    },
  ]
  return (
    <div>
      <Uploader
        accept='*'
        defaultValue={defaultValue}
        onChange={v => console.log(v)}
      />
    </div>
  )
}

export default App
